import { t } from '@src/locales'
export enum qualificationManagementUserTypeEunm{
    USER='USER',
    PROVIDER='PROVIDER',
    ENGINEER='ENGINEER'
}

export enum qualificationManagementConcatTypeEunm{
    MANUAL='MANUAL',
    EXAM='EXAM',
    COURSE='COURSE'
}
export const getUserTypeDes=(status)=>{
	const obj = {
		[qualificationManagementUserTypeEunm.ENGINEER]:t('qualificationManagement.view.label4'),
		[qualificationManagementUserTypeEunm.PROVIDER]:t('common.label.serviceProvider'),
		[qualificationManagementUserTypeEunm.USER]:t('qualificationManagement.view.label3'),
	}

	return obj[status] || ''
}

export const getConcatTypeDes=(status)=>{
	const obj = {
		[qualificationManagementConcatTypeEunm.MANUAL]:t('common.task.createMethod[0]'),
		[qualificationManagementConcatTypeEunm.EXAM]:t('trainingManagement.trainingCorse.exam'),
		[qualificationManagementConcatTypeEunm.COURSE]:t('common.pageTitle.pageTrainingManagementCourseCenterList'),
	}

	return obj[status] || ''
}